package com.yanqu.road.server.cmd.activity.autoreward.rank;

import com.yanqu.road.entity.enums.activity.chefDuel.eChefDuelActivityType;
import com.yanqu.road.entity.enums.eActivityType;

public class CrossRankFactory {
    public static BaseCrossRank getCrossRank(int activityId,int activityType, int childType) {
        if (activityType == eActivityType.StrongholdWarActivity.getValue()) {
            return new StrongholdRank(activityId);
        } else if (activityType == eActivityType.CrossHuaShiGangActivity.getValue()) {
            return new HuaShiGangRank(activityId);
        }else if (activityType == eActivityType.DaFuWeng.getValue()) {
            return new DfwRank(activityId);
        } else if (activityType == eActivityType.CrossCommonActivity.getValue()) {
            return new CommonActivityRank(activityId);
        } else if (activityType == eActivityType.CrossRankActivity.getValue()) {
            return new CrossRank(activityId, childType);
        } else if (activityType == eActivityType.CrossTradeWarActivity.getValue()) {
            return new CrossTradeWarRank(activityId);
        } else if (activityType == eActivityType.CrossUnionActivity.getValue()) {
            return new CrossUnionActivityChildRank(activityId, childType);
        } else if (activityType == eActivityType.OreWarActivity.getValue()) {
            return new OreWarActivityRank(activityId);
        } else if (activityType == eActivityType.PageantActivity.getValue()) {
            return new PageantActivityRank(activityId);
        } else if (activityType == eActivityType.CrossHolidayActivity.getValue()) {
            return new CrossHolidayActivityRank(activityId);
        } else if (activityType == eActivityType.ThrowingPotActivity.getValue()) {
            return new ThrowingPotActivityRank(activityId);
        } else if (activityType == eActivityType.YearMasterActivity.getValue()) {
            return new YearMasterActivityRank(activityId);
        } else if (activityType == eActivityType.TreasureActivity.getValue()) {
            return new TreasureActivityRank(activityId);
        } else if (activityType == eActivityType.PplActivity.getValue()) {
            return new PplActivityRank(activityId);
        } else if (activityType == eActivityType.JianChuangHuaActivity.getValue()) {
            return new JianChuangHuaActivityRank(activityId);
        } else if (activityType == eActivityType.DrawPicturesActivity.getValue()) {
            return new DrawPicturesActivityRank(activityId);
        } else if (activityType == eActivityType.ShuiHuActivity.getValue()) {
            return new ShuiHuActivityRank(activityId);
        } else if (activityType == eActivityType.TangHuluActivity.getValue()) {
            return new TangHuluActivityRank(activityId);
        } else if (activityType == eActivityType.BowArtActivity.getValue()) {
            return new BowArtActivityRank(activityId);
        } else if (activityType == eActivityType.BusyFarmingActivity.getValue()) {
            return new BusyFarmingActivityRank(activityId);
        } else if (activityType == eActivityType.PawnshopActivity.getValue()) {
            return new PawnshopActivityRank(activityId);
        } else if (activityType == eActivityType.SuoYaoActivity.getValue()) {
            return new SuoYaoActivityRank(activityId);
        } else if (activityType == eActivityType.HangHaiActivity.getValue()) {
            return new HangHaiActivityRank(activityId);
        } else if (activityType == eActivityType.GuGuoXunBaoActivity.getValue()) {
            return new GuGuoXunBaoActivityRank(activityId);
        } else if (activityType == eActivityType.DrinkActivity.getValue()) {
            return new DrinkActivityRank(activityId);
        } else if (activityType == eActivityType.DragonBoatRaceActivity.getValue()) {
            return new DragonBoatRaceActivityRank(activityId);
        } else if (activityType == eActivityType.XiaYueActivity.getValue()) {
            return new XiaYueActivityRank(activityId);
        } else if (activityType == eActivityType.CrossDunHuangShiKuActivity.getValue()) {
            return new CrossDunHuangShiKuActivityRank(activityId);
        } else if (activityType == eActivityType.CrossUnionWarActivity.getValue()) {
            return new CrossUnionWarActivityRank(activityId);
        } else if (activityType == eActivityType.CookingBoyActivity.getValue()) {
            return new CookingBoyActivityRank(activityId, childType);
        } else if (activityType == eActivityType.ChefDuel.getValue() && (childType == eChefDuelActivityType.Phase2.getChildType()||childType == eChefDuelActivityType.Phase3.getChildType())) {
            return new ChefDuelActivityRank(activityId, childType);
        } else if (activityType == eActivityType.LanRuoSiActivity.getValue()) {
            return new LanRuoSiActivityRank(activityId);
        } else if (activityType == eActivityType.GhostActivity.getValue()) {
            return new GhostActivityRank(activityId);
        } else if (activityType == eActivityType.GourdChildActivity.getValue()){
            return new GourdActivityRank(activityId);
        } else if (activityType ==eActivityType.WinterLoveActivity.getValue()){
            return new WinterLoveActivityRank(activityId);
        } else if (activityType == eActivityType.YingXinActivity.getValue()) {
            return new YingXinActivityRank(activityId);
        }else if (activityType == eActivityType.HellActivity.getValue()) {
            return new HellActivityRank(activityId);
        }else if (activityType == eActivityType.XiaowuRecallActivity.getValue()){
            return new XiaowuRecallActivityRank(activityId);
        }else if (activityType == eActivityType.DouLuoDaLuActivity.getValue()){
            return new DouLuoDaLuCrossRank(activityId);
        }else if (activityType == eActivityType.DouLuoShrekActivity.getValue()) {
            return new DouLuoShrekActivityRank(activityId);
        }else if (activityType == eActivityType.SpringDinner.getValue()) {
            return new SpringDinnerActivityRank(activityId);
        } else if (activityType == eActivityType.ChannelRankActivity.getValue()) {
            return new ChannelRankActivityRank(activityId, childType);
        }else if (activityType == eActivityType.ShuiHuYeZiCardActivity.getValue()) {
            return new ShuiHuYeZiCardActivityRank(activityId);
        }else if (activityType == eActivityType.SeacraftActivity.getValue()) {
            return new SeacraftSouthSeaActivityRank(activityId);
        } else if (activityType == eActivityType.ToyHouse.getValue()) {
            return new ToyHouseActivityRank(activityId);
        }else if (activityType == eActivityType.ChineseChess.getValue()) {
            return new ChineseChessActivityRank(activityId);
        }else if (activityType == eActivityType.ShuShanActivity.getValue()) {
            return new ShuShanActivityRank(activityId);
        }else if (activityType == eActivityType.CelebrationActivity.getValue()) {
            return new CelebrationActivityRank(activityId);
        } else if (activityType == eActivityType.ZhouNianTurntable.getValue()) {
            return new ZhouNianTurntableRank(activityId);
        } else if (activityType == eActivityType.TongBingActivity.getValue()) {
            return new TongBingActivityRank(activityId);
        } else if (activityType == eActivityType.ChuHanZB.getValue()) {
            return new ChuHanActivityRank(activityId);
        } else if (activityType == eActivityType.ClimbTower.getValue()){
            return new ClimbTowerActivityRank(activityId);
        } else if (activityType == eActivityType.OperaMask.getValue()) {
            return new OperaMaskActivityRank(activityId);
        } else if (activityType == eActivityType.RankUnionWar.getValue()) {
            return new RankUnionWarActivityRank(activityId);
        } else if (activityType == eActivityType.FellingTrees.getValue()) {
            return new FellingTreesActivityRank(activityId);
        } else if (activityType == eActivityType.Pasture.getValue()) {
            return new ChineseChessActivityRank(activityId);
        } else if (activityType == eActivityType.GreatTradeActivity.getValue()){
            return new GreatTradeActivityRank(activityId);
        } else if (activityType == eActivityType.Twins.getValue()) {
            return new TwinsActivityRank(activityId);
        } else if (activityType == eActivityType.Cat.getValue()){
            return new CatActivityRank(activityId);
        } else if (activityType == eActivityType.WorldCup.getValue()) {
            return new WorldCupActivityRank(activityId);
        } else if (activityType == eActivityType.CricketSeasonActivity.getValue()) {
            return new CricketActivityRank(activityId);
        } else if (activityType == eActivityType.PeakStrongHold.getValue()) {
            return new PeakStrongHoldActivityRank(activityId);
        } else if (activityType == eActivityType.LionDance.getValue()) {
            return new LionDanceActivityRank(activityId);
        } else if (activityType == eActivityType.CarpTripActivity.getValue()){
            return new CarpTripActivityRank(activityId);
        } else if (activityType == eActivityType.FireWork2023.getValue()){
            return new FireWorkActivityRank(activityId);
        } else if (activityType == eActivityType.FanXiuSpringActivity.getValue()){
            return new FanXiuSpringRank(activityId);
        } else if (activityType == eActivityType.CommonWishDraw.getValue()){
            return new CommonWishRank(activityId);
        } else if (activityType == eActivityType.XiuXian.getValue()){
            return new XiuXianActivityRank(activityId);
        } else if (activityType == eActivityType.Feast.getValue()){
            return new ShanHeFeastActivityRank(activityId);
        } else if (activityType == eActivityType.FlowerCards.getValue()){
            return new FlowerCardRank(activityId);
        } else if (activityType == eActivityType.GoldAutumn.getValue()){
            return new GoldAutumnRank(activityId);
        } else if (activityType == eActivityType.HongXianActivity.getValue()){
            return new HongXianRank(activityId);
        } else if (activityType == eActivityType.SummerGames.getValue()){
            return new SummerGamesRank(activityId);
        } else if (activityType == eActivityType.JieShi.getValue()){
            return new JieShiActivityRank(activityId);
        } else if (activityType == eActivityType.PeakSeacraftActivity.getValue()) {
            return new PeakSeacraftActivityRank(activityId);
        } else if (activityType == eActivityType.PeerlessBeautyLotteryActivity.getValue()) {
            return new PeerlessBeautyLotteryActivityRank(activityId);
        } else if (activityType == eActivityType.TonBingActivity.getValue()){
            return new TonBingActivityRank(activityId);
        } else if (activityType == eActivityType.ChannelTonBingActivity.getValue()){
            return new ChannelTonBingActivityRank(activityId);
        } else if (activityType == eActivityType.GoddessActivity.getValue()) {
            return new GoddessActivityRank(activityId);
        } else if (activityType == eActivityType.DeepFishing.getValue()){
            return new DeepFishingActivityRank(activityId);
        }else if (activityType == eActivityType.LangYaMemorial.getValue()){
            return new LangYaMemorialRank(activityId);
        }else if (activityType == eActivityType.FiveHero.getValue()) {
            return new FiveHeroActivityRank(activityId);
        } else if (activityType == eActivityType.CrossPasture.getValue()) {
            return new CrossPastureActivityRank(activityId);
        } else if (activityType == eActivityType.AreaWashePkActivity.getValue()) {
            return new AreaWashePkActivityRank(activityId);
        } else if (activityType == eActivityType.SilkRoad.getValue()) {
            return new SilkRoadActivityRank(activityId);
        } else if (activityType == eActivityType.FlowerStudy.getValue()){
            return new FlowerStudyUserScoreRank(activityId);
        } else if (activityType == eActivityType.WanYao.getValue()){
            return new WanYaoActivityRank(activityId);
        } else if (activityType == eActivityType.QiXiActivity.getValue()){
            return new QixiActivityRank(activityId);
        } else if (activityType == eActivityType.GuaGiftsActivity.getValue()){
            return new GuaGiftsActivityRank(activityId);
        } else if (activityType == eActivityType.DigGold.getValue()){
            return new DigGoldActivityRank(activityId);
        } else if (activityType == eActivityType.EveFeast.getValue()){
            return new EveFeastActivityRank(activityId);
        } else if (activityType == eActivityType.DaoMu.getValue()) {
            return new DaoMuActivityRank(activityId);
        } else if (activityType == eActivityType.WitchDraw.getValue()){
            return new WitchDrawActivityRank(activityId);
        } else if (activityType == eActivityType.SteleSoul.getValue()){
            return new SteleSoulActivityRank(activityId);
        } else if (activityType == eActivityType.MusicRoomRank.getValue()) {
            return new MusicRoomRankActivityRank(activityId);
        } else if (activityType == eActivityType.JiuZhou.getValue()){
            return new JiuZhouActivityRank(activityId);
        } else if (activityType == eActivityType.SnowGarden.getValue()){
            return new SnowGardenActivityRank(activityId);
        } else if (activityType == eActivityType.RuiShou.getValue()) {
            return new RuiShouActivityRank(activityId);
        } else if (activityType == eActivityType.ZhenHuan.getValue()){
            return new ZhenHuanActivityRank(activityId, childType);
        } else if (activityType == eActivityType.SpringDraw.getValue()){
            return new SpringDrawActivityRank(activityId);
        } else if (activityType == eActivityType.FoxCard.getValue()){
            return new FoxCardActivityRank(activityId);
        } else if (activityType == eActivityType.Harps.getValue()){
            return new HarpsActivityRank(activityId);
        } else if (activityType == eActivityType.Turtle.getValue()){
            return new TurtleActivityRank(activityId);
        } else if (activityType == eActivityType.HotpotJump.getValue()){
            return new HotpotJumpActivityRank(activityId);
        } else if (activityType == eActivityType.Gashapon.getValue()){
            return new GashaponActivityRank(activityId);
        } else if (activityType == eActivityType.Apprentice.getValue()){
            return new ApprenticeActivityRank(activityId);
        } else if (activityType == eActivityType.XingYouShanShui.getValue()){
            return new XingYouShanShuiRank(activityId);
        } else if (activityType == eActivityType.ChefDuel.getValue() && childType == eChefDuelActivityType.Phase1.getChildType()){  //厨神争霸一阶段走特殊
            return new ChefDuelPhase1Rank(activityId);
        }else if (activityType == eActivityType.YQHotel.getValue()){
            return new YqHotelActivityRank(activityId);
        }else if (activityType == eActivityType.ChannelMusicRoomRank.getValue()){
            return new ChannelMusicRoomRankActivityRank(activityId);
        }
        return null;
    }
}
